import type { Router } from 'vue-router'
// import { PageEnum } from '@/enums/pageEnum'
// const whitePathList: PageEnum[] = [PageEnum.BASE_LOGIN]
// import { useUserStoreWithOut } from '@/store/modules/user'

export function createPermissionGuard(router: Router) {
  router.beforeEach(async (to, from, next) => {
    console.log(to, from, 'paramMenuGuard.ts')
    next()
  })
}
